package com.sto.stoapp.http.request.download;

import android.content.Context;

import com.sto.stoapp.db.StoFilePreference;
import com.sto.stoapp.http.request.BaseRequest;
import com.sto.stoapp.util.TraceUtil;

/**
 * 下载
 * 
 * @author cjb
 * 
 */
public class DownLoadRequest extends BaseRequest {
	public DownLoadRequest(Context c, String downType, String version) {
		if (version == null || version == "")
			version = "0";
		this.version = version;
		this.downType = downType;
		deviceType = "PDA";
		opOrgCode = StoFilePreference.getInstance(c).getSiteCode();

		mty = "0857";

		opTerminal = StoFilePreference.getInstance(c).getMachineCode();
		tid = StoFilePreference.getInstance(c).getMachineCode();

		trace = TraceUtil.getTraceTimes();
		sessionId = StoFilePreference.getInstance(c).getSessionId();

	}

	public String opOrgCode;
	public String deviceType;
	public String opTerminal;
	public String downType;
	public String version;

}
